package com.fire.eyes.model;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * <p>
 * 渠道管理表
 * </p>
 *
 * @author MIT123
 * @since 2018-05-04
 */
@TableName("t_mit_shell_channel_relation")
public class TMitShellChannelRelation extends Model<TMitShellChannelRelation> {

    private static final long serialVersionUID = 1L;

    /**
     * 渠道ID
     */
    private Integer channelid;
    /**
     * 货架或者主题ID
     */
    private Integer shelfid;
    /**
     * 创建时间
     */
    private Date createtime;


    public Integer getChannelid() {
        return channelid;
    }

    public void setChannelid(Integer channelid) {
        this.channelid = channelid;
    }

    public Integer getShelfid() {
        return shelfid;
    }

    public void setShelfid(Integer shelfid) {
        this.shelfid = shelfid;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    @Override
    protected Serializable pkVal() {
        return this.channelid;
    }

    @Override
    public String toString() {
        return "TMitShellChannelRelation{" +
        "channelid=" + channelid +
        ", shelfid=" + shelfid +
        ", createtime=" + createtime +
        "}";
    }
}
